package com.xsj.service;

import com.xsj.dto.ResponseDto;
import com.xsj.pojo.UserAddress;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AdressService {
    Integer UPAdress(@Param("id") int addressId, @Param("longitude") double longitude,
                  @Param("latitude") double latitude, @Param("address") String address,
                  @Param("client")String client, @Param("clientPhone") String clientPhone
            ,@Param("clientPhone") int clientSex);
    Integer InitAdress(@Param("id") int userId, @Param("longitude") double longitude,
                    @Param("latitude") double latitude,@Param("address") String address,
                    @Param("client")String client,@Param("clientPhone") String clientPhone
            ,@Param("clientPhone") int clientSex);
    Integer DeAderss(@Param("addressId") int addressId);
    ResponseDto SeAdress(@Param("userId") int userId);
}
